# coding: utf8
#########################################################################
# Audit Default Setting
#########################################################################
# Location                    : models/1_init_session_vars_uc_audit.py
# Corresponding controller    : controllers/uc_audit.py
#
# Organization                : TBA
# Author                      : Christopher Steel
# Copyright                   : 2010 Christopher Steel
# Contributors                : NA
# Last Changes                : 2010-03-11
# License                     : GNU
# Description :
#
# Sets the initial values for:
#
#    session._uc_audit_on - Used to turn auditing on and off
#    session._uc_audit_enabled.
#
# Currently 
######################
# session._uc_audit_on
######################
#
#
if not session._uc_audit_on: session._uc_audit_on = 'True'
# If I set request.vars._audit via the controller to 'True' or 'False'
# my new setting gets save to session._audit here.
if request.vars._uc_audit_on:
    session._uc_audit_on = request.vars._uc_audit_on
###########################
# session._uc_audit_enabled
###########################
#
#
if not session._uc_audit_enabled: session._uc_audit_enabled = 'True'
